package hao.bk.royalmap;

import android.view.MotionEvent;
import android.view.View;
import android.view.View.OnTouchListener;
import android.widget.EditText;

public class HideKeyboardOnTouchImpl implements OnTouchListener{

	private EditText editText;
	public HideKeyboardOnTouchImpl(EditText editTex){
		this.editText = editTex;
	}
	@Override
	public boolean onTouch(View v, MotionEvent event) {
		RoyalMapActivity.getInstance().hiddenKeyboardForView(editText);
		return false;
	}

}
